package com.web.dto;

import java.math.BigDecimal;

/**
 * @author FDjavaone
 * @date 2017/9/5
 */
public class OnlineOrderDto {
    /**
     * 用户id
     */
    private Long mId;
    /**
     * 店铺id
     */
    private Long storeId;
    /**
     * 收件人
     */
    private String name;
    /**
     * 收件人电话
     */
    private String phone;
    /**
     * 收件人地址
     */
    private String address;
    /**
     * 总价格
     */
    private BigDecimal totalPrice;
    /**
     * 支付方式
     */
    private Integer type;
    /**
     * 小费
     */
    private BigDecimal tipPrice;
    /**
     * 商品明细  id-num|id-num|id-num   商品id-商品数量|商品id-商品数量
     */
    private String goods;

    /**
     * 交易金额
     */
    private String amount;

    /**
     * 商品描述
     */
    private String tradeName;

    /**
     * 商品详情
     */
    private String remark;
    /**
     * 商户APP账号ID
     */
    private String subAppId;
    /**
     * 终端ip
     */
    private String terminalIp;
    /**
     * 商品id
     */
    private String productId;
    /**
     * 新的微信支付方式标记
     * @return
     */
    private String flag;

    public String getSubAppId() {
        return subAppId;
    }

    public void setSubAppId(String subAppId) {
        this.subAppId = subAppId;
    }

    public String getTerminalIp() {
        return terminalIp;
    }

    public void setTerminalIp(String terminalIp) {
        this.terminalIp = terminalIp;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }


    public String getTradeName() {
        return tradeName;
    }

    public void setTradeName(String tradeName) {
        this.tradeName = tradeName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getmId() {
        return mId;
    }

    public void setmId(Long mId) {
        this.mId = mId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTipPrice() {
        return tipPrice;
    }

    public void setTipPrice(BigDecimal tipPrice) {
        this.tipPrice = tipPrice;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }
}
